home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / lwlib / xlwmenu.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-21  |  2.4 KB  |  78 lines

  1. #ifndef _XlwMenu_h
  2. #define _XlwMenu_h
  3.  
  4. /***********************************************************************
  5.  *
  6.  * XlwMenu Widget
  7.  *
  8.  ***********************************************************************/
  9.  
  10. #include "lwlib.h"
  11.  
  12. /* Resource names used by the XlwMenu widget */
  13. #define XtNbuttonForeground "buttonForeground"
  14. #define XtCButtonForeground "ButtonForeground"
  15. #define XtNmargin "margin"
  16. #define XtNhorizontalSpacing "horizontalSpacing"
  17. #define XtNverticalSpacing "verticalSpacing"
  18. #define XtNarrowSpacing "arrowSpacing"
  19. #define XtNmenu "menu"
  20. #define XtCMenu "Menu"
  21. #define XtNopen "open"
  22. #define XtNselect "select"
  23. #define XtNmenuBorderWidth "menuBorderWidth"
  24. #define XtNhorizontal "horizontal"
  25. #define XtCHorizontal "Horizontal"
  26. #ifndef XtNcursor
  27. #define XtNcursor "cursor"
  28. #endif
  29. #ifndef XtCCursor
  30. #define XtCCursor "Cursor"
  31. #endif
  32. #ifndef XtNuseBackingStore
  33. #define XtNuseBackingStore "useBackingStore"
  34. #endif
  35. #ifndef XtCUseBackingStore
  36. #define XtCUseBackingStore "UseBackingStore"
  37. #endif
  38. #define XtNbounceDown "bounceDown"
  39. #define XtCBounceDown "BounceDown"
  40. #define XtNresourceLabels "resourceLabels"
  41. #define XtCResourceLabels "ResourceLabels"
  42.  
  43. /* Motif-compatible resource names */
  44. #ifndef XmNshadowThickness
  45. # define XmNshadowThickness    "shadowThickness"
  46. # define XmCShadowThickness    "ShadowThickness"
  47. # define XmNtopShadowColor    "topShadowColor"
  48. # define XmCTopShadowColor    "TopShadowColor"
  49. # define XmNbottomShadowColor    "bottomShadowColor"
  50. # define XmCBottomShadowColor    "BottomShadowColor"
  51. # define XmNtopShadowPixmap    "topShadowPixmap"
  52. # define XmCTopShadowPixmap    "TopShadowPixmap"
  53. # define XmNbottomShadowPixmap    "bottomShadowPixmap"
  54. # define XmCBottomShadowPixmap    "BottomShadowPixmap"
  55. # define XmRHorizontalDimension    "HorizontalDimension"
  56. # define XmNspacing        "spacing"
  57. # define XmCSpacing        "Spacing"
  58. # define XmNindicatorSize    "indicatorSize"
  59. # define XmCIndicatorSize    "IndicatorSize"
  60. # define XmNselectColor        "selectColor"
  61. # define XmCSelectColor        "SelectColor"
  62. # define XmNmarginHeight    "marginHeight"
  63. # define XmCMarginHeight    "MarginHeight"
  64. # define XmNmarginWidth        "marginWidth"
  65. # define XmCMarginWidth        "MarginWidth"
  66. # define XmRVerticalDimension    "VerticalDimension"
  67. #endif
  68.  
  69. typedef struct _XlwMenuRec *XlwMenuWidget;
  70. typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;
  71.  
  72. extern WidgetClass xlwMenuWidgetClass;
  73.  
  74. void
  75. xlw_pop_up_menu (XlwMenuWidget mw, XButtonPressedEvent* event);
  76.  
  77. #endif /* _XlwMenu_h */
  78.